package com.cashoutgaming.shared.match;

import com.cashoutgaming.shared.game.GameType;
import com.google.gwt.user.client.rpc.IsSerializable;

public class MatchFilterDTO implements IsSerializable {

	private GameType type;
	private Integer offset;
	private Integer limit;
	private String sort_by;
	private Integer sort_dir;

	public MatchFilterDTO() {

	}

	public MatchFilterDTO(GameType type, Integer offset, Integer limit, String sort_by, Integer sort_dir) {
		super();
		this.type = type;
		this.offset = offset;
		this.limit = limit;
		this.sort_by = sort_by;
		this.sort_dir = sort_dir;
	}

	public GameType getType() {
		return type;
	}

	public void setType(GameType type) {
		this.type = type;
	}

	public Integer getOffset() {
		return offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public String getSort_by() {
		return sort_by;
	}

	public void setSort_by(String sort_by) {
		this.sort_by = sort_by;
	}

	public Integer getSort_dir() {
		return sort_dir;
	}

	public void setSort_dir(Integer sort_dir) {
		this.sort_dir = sort_dir;
	}
}
